package cn.pzaily.fealetter.entity;

import cn.pzaily.fealetter.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @PackageName: cn.pzaily.fealatter.entity
 * @Description:
 * @Author: Pang
 * @Date: 2021-11-18 12:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode
@ApiModel(description = "接入平台表")
@TableName("platform")
public class PlatformEntity extends BaseEntity {

    @ApiModelProperty(value = "平台名称")
    private String name;

    @ApiModelProperty(value = "密钥id")
    private String accessKeyId;

    @ApiModelProperty(value = "密钥")
    private String accessKeySecret;

    @ApiModelProperty(value = "ip绑定,多个用英文逗号分隔")
    private String ipAddr;

    @ApiModelProperty(value = "是否鉴权：0不鉴权")
    private int needAuth;

    @ApiModelProperty(value = "是否可用：0不可用")
    private int isActive;

    @ApiModelProperty(value = "平台等级（预留）")
    private String level;

}
